How Do I Show a Palette for Color Properties?

Color properties are edited using the ColorPicker control. By default, the ColorPicker shows only the Named and Custom (color mixer) tabs.

To show a palette, use a BuiltInEditorStyle to set the Palette property. The required EditorKey is ColorEditorKey. You can use the StandardPalettes class to show an Office-style palette.

CopyXML
<ms:PropertyGrid.BuiltInEditorStyles>
  <ms:BuiltInEditorStyleCollection>
    <ms:BuiltInEditorStyle EditorKey="{x:Static ms:PropertyGrid.ColorEditorKey}">
      <ms:BuiltInEditorStyle.Style>
        <Style>
          <Setter Property="ms:ColorPicker.Palette" Value="{x:Static ms:StandardPalettes.Office2007Palette}" />
        </Style>
       </ms:BuiltInEditorStyle.Style>
     </ms:BuiltInEditorStyle>
   </ms:BuiltInEditorStyleCollection>
  </ms:PropertyGrid.BuiltInEditorStyles>